home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / ccd150.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-07-11  |  2KB  |  66 lines

  1. @echo off
  2. echo off
  3. cls
  4. if "%1"=="" goto Fehler
  5. if "%2"=="" goto Fehler
  6. if "%3"=="" goto Fehler
  7. goto Goon
  8. :Fehler
  9. echo.
  10. echo CARECOM(R) ccd Version 1.5 Installation
  11. echo.
  12. echo install Drive Path1 Path2 [ccd options]
  13. echo.
  14. echo During installation the file ccd.bat will be created. It should reside in a
  15. echo directory that is (or will be) included in your path statement.
  16. echo The first two arguments of the installation batch file give the drive (Drive)
  17. echo and the path (Path1; WITHOUT drive) where this file shall be saved.
  18. echo The third argument (Path2) should be the COMPLETE path (INCLUDING the drive)
  19. echo where the ccd files are stored.
  20. echo Path2 can be followed by up to six ccd options that will be active everytime
  21. echo ccd is called in the future.
  22. echo.
  23. echo Examples:
  24. echo.
  25. echo    install c: \dos d:\utility\ccd
  26. echo    install c: \dos d:\utility\ccd /norescan
  27. echo.
  28. echo For further information take a look at "readme.txt".
  29. goto End
  30. :Goon
  31. if not exist %3\regccd.frm goto Missing
  32. if not exist %3\readme.txt goto Missing
  33. goto Goon2
  34. :Missing
  35. echo.
  36. echo ccd files missing in directory "%3".
  37. echo.
  38. goto End
  39. :Goon2
  40. %1
  41. cd %2
  42. if not "Windows_NT"=="%OS%" goto DOS
  43. if not exist %3\ccd2i386.exe goto Missing
  44. %3\ccd2i386.exe /install %4 %5 %6 %7 %8 %9
  45. echo.
  46. echo Please make sure that "%1%2"
  47. echo is included in your path statement.
  48. echo.
  49. echo To add a directory to your path statement start the system
  50. echo applet from your control panel and add the path to the user
  51. echo environment variables.
  52. echo.
  53. echo Microsoft(R) Windows NT(TM) installation of ccd completed.
  54. goto End
  55. :DOS
  56. if not exist %3\ccd2.exe goto Missing
  57. %3\ccd2.exe /install %4 %5 %6 %7 %8 %9
  58. rem DOS installation
  59. echo.
  60. echo Please make sure that "%1%2"
  61. echo is included in the path statement in your autoexec.bat file.
  62. echo.
  63. echo DOS installation of ccd completed.
  64. :End
  65. echo.
  66.